<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
             targetNamespace="Examples">

    <process id="intermediateNoneEventExample" name="None intermediate event example" isExecutable="true">

        <startEvent id="theStart"/>
        <sequenceFlow id="flow1" sourceRef="theStart" targetRef="noneEvent"/>

        <intermediateThrowEvent  id="noneEvent">
          <extensionElements>
            <camunda:executionListener class="org.camunda.bpm.engine.test.bpmn.event.IntermediateNoneEventTest$MyExecutionListener" event="start" />
          </extensionElements>        
        </intermediateThrowEvent>

        <sequenceFlow id="flow2" sourceRef="noneEvent" targetRef="theEnd"/>

        <endEvent id="theEnd"/>

    </process>

</definitions>
